package edu.stu.cs.software.family.base.service;

import java.io.Serializable;
import java.util.List;

import org.junit.Test;

import edu.stu.cs.software.family.base.domain.BaseTreeEntity;
/**
 * This class is an abstract binary tree test base class
 * @author Administrator
 *
 * @param <LG> the primary key of long for that type
 * @param <T> a type variable
 * @param <M>test *Manager
 */
public abstract class GenericTreeManagerTestCase<LG extends Serializable, T extends BaseTreeEntity<T, LG>, M extends GenericTreeManager<T, LG>>
		extends GenericManagerTestCase<LG, T, M> {

	public GenericTreeManagerTestCase(Class<T> persistentClass) {
		super(persistentClass);
	}

	/**
	 * Get the source of the entity
	 */
	@Test
	public void testGetRoot() {
		List<T> result = this.manager.getRoot();
		if (logger.isInfoEnabled()) {
			logger.info("testGetRoot() - List<T> result=" + result); //$NON-NLS-1$
		}

	}

}
